package com.hspedu.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/computer")
@Controller
public class ComputerHandler {
    @PostMapping("/getInfo")
    public String getComputerInfo(String brand,Double price,Integer num){

        System.out.println("电脑信息 brand="+brand+" price="+price+" num="+num);
        return "success";
    }
}
